<template>
  <div class="InfoSetting">
    <van-nav-bar
      title="消息设置"
      left-text=""
      left-arrow
      @click-left="onClickLeft"
    />
    <van-cell-group>
      <div class="content">
        <van-cell title="消息通知" value="" />
        <van-switch v-model="checked" />
      </div>
    </van-cell-group>
  </div>
</template>

<script>
export default {
  name: "InfoSetting",
  data() {
    return {
      checked: true,
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/setting");
    },
  },
};
</script>

<style scoped>
.content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  padding: 5px;
}
</style>
